<template>
  <div class="page-order-order">
    <el-tabs
      v-model="activeName"
      class="demo-tabs"
      @tab-change="handleClick"
    >
      <el-tab-pane
        label="全网买"
        name="buy"
      >
        <Buy />
      </el-tab-pane>
      <el-tab-pane
        label="全网推"
        name="push"
        disabled
      >
        <Push />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>

<script setup>
import Buy from './buy.vue'
import Push from './push.vue'

const activeName = ref('buy')
onMounted(() => {

})

const handleClick = (key) => {
  activeName.value = key
}
</script>

<style lang="scss" scoped>
  // @use './index.scss';
</style>
